home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 015 / m100prnt.arc / FORDOC.DOC next >
Encoding:
Text File  |  1986-06-28  |  4.9 KB  |  71 lines

  1.     INTRODUCTION
  2.  
  3.     FORMAT.100 provides formatted printouts of .DO files. It is suitable for magazine articles, letters, and similar tasks 
  4. which do not require special layout control or footnoting. It is specifically written for the Brother CE-50 typewriter/printer,
  5. but it can be easily adapted to other parallel port printers (details under "Customizing").
  6.  
  7.     FEATURES
  8.  
  9.     FORMAT.100 prints at 30 CPS. It supports first-page addressing and titlng, page heading and numbering. With the CE-50, it 
  10. provides underlining and backspace/overstrike. FORMAT.100 also has a 'Preview' function, which displays a pixel-map of the page
  11. layout on the Model 100 screen.
  12.  
  13.     USING FORMAT.100
  14.  
  15.     I've loaded FORMAT.100 exactly as I use it, to guarantee you have a functioning program. You'll first want to change the 
  16. address and phone number (see Customizing). Let's assume you've done so.
  17.     FORMAT.100 uses ordinary ASCII text files. GRPH-1 is the CE-50 backspace command, and UNDERLINE <_> toggles the underline 
  18. print mode on and off. Examples: to print an interobang ("!" over "?"), type QUESTION-MARK, GRPH-1, EXCLAMATION POINT. _The_ 
  19. first and last words of this sentence have been _underlined_. Otherwise, type your text in normal fashion: use <ENTER> only to 
  20. force a line feed, such as for a new paragraph.
  21.     FORMAT.100 first prompts you for the name of the file to print out. It asks six questions:
  22.  
  23. 1) DO YOU WANT TO PREVIEW? The default setting feeds the text to the printer. Type <y> if you want the text pixel-mapped to the
  24. screen.
  25. 2) HOW MANY CHARACTERS TO A LINE? No default. If previewing, limit this to no more than 120. NOTE: FORMAT.100 works like a 
  26. human typist-- it starts to look for a word break several characters before a line's end (see Customize). Long words are NOT 
  27. word-wrapped to the next line.
  28. 3) HOW MANY LINES ON A PAGE? No default. This must be less than 63, when previewing.
  29. 4) WHAT NAME DO YOU WANT TO USE? Default <ENTER> skips the address. Any other response will be printed in front of your 
  30. address, at the top of page 1.
  31. 5) WHAT SHOULD THE TITLE READ? Default <ENTER> skips the title. Anything else is printed as the title between the address line 
  32. and the main text.
  33.     If you default both the name and title, FORMAT.100 prints text starting right where the printer carriage is, with no extra 
  34. line feeds. You can use this to append a second text file directly following the first printout.
  35. 6) WHAT SHOULD THE OTHER PAGE HEADINGS READ? <ENTER> prints "page xx". Anything else will be printed on the same line just 
  36. before "page xx".
  37.  
  38.     FORMAT.100 then starts printing at 30 CPS. At the end of page 1, it beeps, while displaying "PLEASE CHANGE PAPER: Press 'c'
  39. to continue". Don't press <c> until you've put in a new sheet of paper! Other keys have no effect.
  40.     'Preview' draws a page-sized box on the screen, with tics every five spaces and lines. Wherever there's a printing 
  41. character, FORMAT.100 draws a pixel. At the same time, the text being printed is shown on the right half of the screen. Blank 
  42. lines have a single pixel at the far left.
  43.  
  44.     NOTE: Previewing is very slow. If you just want a line count, the companion program HYPHEN.100 will do that much faster.
  45.  
  46.     CUSTOMIZING
  47.  
  48.     Line 20000 contains the address and phone number. Replace these with yours. 20500 puts the information on two lines, for 
  49. narrow pages, 'cause it looks prettier. Adjust the width (62) for your address. Delete 20500-20300 to disable this feature.
  50.     FORMAT.100 starts to look for a break four characters before line-end. If you want to change that, replace the '4' in line 
  51. 2300 with your preference. Be sure to make the same change in HYPHEN.100.
  52.     ESC+R and ESC+E turn CE-50 underlining on and off. If line 800 sees <_> it Gosubs to 4000, which toggles FL and appends the
  53. appropriate control sequence to TY$, the output string. It also adds 2 to US (max. line length) (see lines 700,200) to 
  54. compensate. If your printer works differently, you can change lines 150, 4000, and 4100 accordingly, or you can delete 800, 
  55. 4000-4200 to eliminate the feature entirely.
  56.     The pixel-mapper (6000-6800) looks for ESC and GRPH-1. Line 6700 backsteps the display by two pixels, to compensate for non
  57. -printing characters. Line 6300 skips over ESC, in the text display. You'll need to adapt or delete accordingly for your 
  58. printer.
  59.  
  60.     For those who really like to hack, here are program sections by line number:
  61.     100-400: Initialize and head up the first page.
  62.     500-1000: Main routine. Get characters and add them to TY$.
  63.     1200-1550: Control pagination and headings.
  64.     1600-1800: Print out the end of the document.
  65.     2000-2800: Set options
  66.     4000-4200: Control underlining.
  67.     5000-5500: Printout or layout of preview screen.
  68.     6000-6900: Pixel mapper.
  69.     20000-on:Name and address headings.
  70.  
  71.